<?php
/**
 * @copyright:Copyright (C) 2010-2014 LiZaoNet Inc. (http://www.lizaonet.com)
 * @license: http://www.lizaonet.com
 * @link:http://www.lizaonet.com
 * @since:File available since Release v1.0
 * @Created by Azrael
 * @User: Azrael
 * @Date: 2016/1/27
 * @Time: 16:39
 *
 */
/**
 * 随机生成游客用户信息
 * @return string
 */
function generateGuidUser(){
    $returnStr = '';
    $pattern = '1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLOMNOPQRSTUVWXYZ';
    for ($i = 0; $i < 4; $i++) {
        $returnStr .= $pattern{mt_rand(0, 61)};
    } //生成php随机数
    return $returnStr;
}